package com.lanyanhua.flow;

import lombok.ToString;

import java.util.List;

/**
 * @ClassName: WxUserResult
 * @Description:TODO ()
 * @author: lanyanhua
 * @date: 2020/10/15 10:24 上午
 * @Copyright:
 */
@ToString
public class WxUserResult {

    /**
     * errcode : 0
     * isleader : 0
     * gender : 1
     * mobile : 13248267286
     * errmsg : ok
     * is_leader_in_dept : [0]
     * telephone :
     * avatar : https://wework.qpic.cn/bizmail/x00HyzYlczp6hmoYAnEYv0WCadmx5CiasdpBfrJiaTh4QAuoAmaicpficg/0
     * hide_mobile : 0
     * main_department : 1
     * userid : cab
     * thumb_avatar : https://wework.qpic.cn/bizmail/x00HyzYlczp6hmoYAnEYv0WCadmx5CiasdpBfrJiaTh4QAuoAmaicpficg/100
     * enable : 1
     * name : 兰炎华
     * extattr : {"attrs":[]}
     * qr_code : https://open.work.weixin.qq.com/wwopen/userQRCode?vcode=vcaae9441763a463ff
     * alias :
     * position :
     * department : [1]
     * email :
     * status : 1
     * order : [0]
     */

    private int errcode;
    private int isleader;
    private String gender;
    private String mobile;
    private String errmsg;
    private String telephone;
    private String avatar;
    private int hide_mobile;
    private int main_department;
    private String userid;
    private String thumb_avatar;
    private int enable;
    private String name;
    private ExtattrBean extattr;
    private String qr_code;
    private String alias;
    private String position;
    private String email;
    private int status;
    private List<Integer> is_leader_in_dept;
    private List<Integer> department;
    private List<Integer> order;

    public int getErrcode() {
        return errcode;
    }

    public void setErrcode(int errcode) {
        this.errcode = errcode;
    }

    public int getIsleader() {
        return isleader;
    }

    public void setIsleader(int isleader) {
        this.isleader = isleader;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public int getHide_mobile() {
        return hide_mobile;
    }

    public void setHide_mobile(int hide_mobile) {
        this.hide_mobile = hide_mobile;
    }

    public int getMain_department() {
        return main_department;
    }

    public void setMain_department(int main_department) {
        this.main_department = main_department;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getThumb_avatar() {
        return thumb_avatar;
    }

    public void setThumb_avatar(String thumb_avatar) {
        this.thumb_avatar = thumb_avatar;
    }

    public int getEnable() {
        return enable;
    }

    public void setEnable(int enable) {
        this.enable = enable;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public ExtattrBean getExtattr() {
        return extattr;
    }

    public void setExtattr(ExtattrBean extattr) {
        this.extattr = extattr;
    }

    public String getQr_code() {
        return qr_code;
    }

    public void setQr_code(String qr_code) {
        this.qr_code = qr_code;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public List<Integer> getIs_leader_in_dept() {
        return is_leader_in_dept;
    }

    public void setIs_leader_in_dept(List<Integer> is_leader_in_dept) {
        this.is_leader_in_dept = is_leader_in_dept;
    }

    public List<Integer> getDepartment() {
        return department;
    }

    public void setDepartment(List<Integer> department) {
        this.department = department;
    }

    public List<Integer> getOrder() {
        return order;
    }

    public void setOrder(List<Integer> order) {
        this.order = order;
    }

    public static class ExtattrBean {
        private List<?> attrs;

        public List<?> getAttrs() {
            return attrs;
        }

        public void setAttrs(List<?> attrs) {
            this.attrs = attrs;
        }
    }
}
